//
//  Procedure.h
//  copilateur
//
//  Created by Loic Cipolla on 06/11/12.
//
//

#ifndef _Procedure_hpp 
#define _Procedure_hpp

#include <iostream>
#include "Categorie.hpp"
#include "../SymbTable.hpp"
using std::string;
using std::cout;
using std::endl;

class Procedure : public Categorie{
public:



    Procedure(){
        this->arite= 0;
        this->ts = new SymbTable();
        TYPE = Categorie::PROCEDURE;
    }
    ~Procedure(){
    }
    void setArite(int i){
        this->arite=i;
    }
    int getArite(){
        return this->arite;
    }
    
    void setTsLocale(SymbTable* t){
        this->ts=t;
    }

	void printLine(){
		cout << "Procedure ";
		cout << "arite : " << this->arite;
		cout << endl;	
	}

private:
    int arite;
    SymbTable *ts;
};

#endif 
